//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class LiveScoreStandard implements Serializable, Cloneable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private String standardCode;
    private String standardName;
    private Integer standardType;
    private BigDecimal standardValue;
    private Integer orders;
    private Integer state;
    private Long parentId;
    private Integer scoreType;
    private Integer type;
    private BigDecimal scoreStep;
    private Integer scoreScope;
    private String standardValueJson;
    @TableField(
            exist = false
    )
    private Long taskUserId;
    @TableField(
            exist = false
    )
    private String productName;
    @TableField(
            exist = false
    )
    private Long productId;
    @TableField(
            exist = false
    )
    private List<LiveScoreStandard> standards;
    @TableField(
            exist = false
    )
    private BigDecimal score;
    @TableField(
            exist = false
    )
    private Integer scoreState;
    @TableField(
            exist = false
    )
    private List<BigDecimal> scores;
    @TableField(
            exist = false
    )
    private BigDecimal realScore;

    public LiveScoreStandard clone() throws CloneNotSupportedException {
        return (LiveScoreStandard)super.clone();
    }

    public LiveScoreStandard() {
    }

    public Long getId() {
        return this.id;
    }

    public String getStandardCode() {
        return this.standardCode;
    }

    public String getStandardName() {
        return this.standardName;
    }

    public Integer getStandardType() {
        return this.standardType;
    }

    public BigDecimal getStandardValue() {
        return this.standardValue;
    }

    public Integer getOrders() {
        return this.orders;
    }

    public Integer getState() {
        return this.state;
    }

    public Long getParentId() {
        return this.parentId;
    }

    public Integer getScoreType() {
        return this.scoreType;
    }

    public Integer getType() {
        return this.type;
    }

    public BigDecimal getScoreStep() {
        return this.scoreStep;
    }

    public Integer getScoreScope() {
        return this.scoreScope;
    }

    public String getStandardValueJson() {
        return this.standardValueJson;
    }

    public Long getTaskUserId() {
        return this.taskUserId;
    }

    public String getProductName() {
        return this.productName;
    }

    public Long getProductId() {
        return this.productId;
    }

    public List<LiveScoreStandard> getStandards() {
        return this.standards;
    }

    public BigDecimal getScore() {
        return this.score;
    }

    public Integer getScoreState() {
        return this.scoreState;
    }

    public List<BigDecimal> getScores() {
        return this.scores;
    }

    public BigDecimal getRealScore() {
        return this.realScore;
    }

    public LiveScoreStandard setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveScoreStandard setStandardCode(final String standardCode) {
        this.standardCode = standardCode;
        return this;
    }

    public LiveScoreStandard setStandardName(final String standardName) {
        this.standardName = standardName;
        return this;
    }

    public LiveScoreStandard setStandardType(final Integer standardType) {
        this.standardType = standardType;
        return this;
    }

    public LiveScoreStandard setStandardValue(final BigDecimal standardValue) {
        this.standardValue = standardValue;
        return this;
    }

    public LiveScoreStandard setOrders(final Integer orders) {
        this.orders = orders;
        return this;
    }

    public LiveScoreStandard setState(final Integer state) {
        this.state = state;
        return this;
    }

    public LiveScoreStandard setParentId(final Long parentId) {
        this.parentId = parentId;
        return this;
    }

    public LiveScoreStandard setScoreType(final Integer scoreType) {
        this.scoreType = scoreType;
        return this;
    }

    public LiveScoreStandard setType(final Integer type) {
        this.type = type;
        return this;
    }

    public LiveScoreStandard setScoreStep(final BigDecimal scoreStep) {
        this.scoreStep = scoreStep;
        return this;
    }

    public LiveScoreStandard setScoreScope(final Integer scoreScope) {
        this.scoreScope = scoreScope;
        return this;
    }

    public LiveScoreStandard setStandardValueJson(final String standardValueJson) {
        this.standardValueJson = standardValueJson;
        return this;
    }

    public LiveScoreStandard setTaskUserId(final Long taskUserId) {
        this.taskUserId = taskUserId;
        return this;
    }

    public LiveScoreStandard setProductName(final String productName) {
        this.productName = productName;
        return this;
    }

    public LiveScoreStandard setProductId(final Long productId) {
        this.productId = productId;
        return this;
    }

    public LiveScoreStandard setStandards(final List<LiveScoreStandard> standards) {
        this.standards = standards;
        return this;
    }

    public LiveScoreStandard setScore(final BigDecimal score) {
        this.score = score;
        return this;
    }

    public LiveScoreStandard setScoreState(final Integer scoreState) {
        this.scoreState = scoreState;
        return this;
    }

    public LiveScoreStandard setScores(final List<BigDecimal> scores) {
        this.scores = scores;
        return this;
    }

    public LiveScoreStandard setRealScore(final BigDecimal realScore) {
        this.realScore = realScore;
        return this;
    }

    public String toString() {
        return "LiveScoreStandard(id=" + this.getId() + ", standardCode=" + this.getStandardCode() + ", standardName=" + this.getStandardName() + ", standardType=" + this.getStandardType() + ", standardValue=" + this.getStandardValue() + ", orders=" + this.getOrders() + ", state=" + this.getState() + ", parentId=" + this.getParentId() + ", scoreType=" + this.getScoreType() + ", type=" + this.getType() + ", scoreStep=" + this.getScoreStep() + ", scoreScope=" + this.getScoreScope() + ", standardValueJson=" + this.getStandardValueJson() + ", taskUserId=" + this.getTaskUserId() + ", productName=" + this.getProductName() + ", productId=" + this.getProductId() + ", standards=" + this.getStandards() + ", score=" + this.getScore() + ", scoreState=" + this.getScoreState() + ", scores=" + this.getScores() + ", realScore=" + this.getRealScore() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveScoreStandard)) {
            return false;
        } else {
            LiveScoreStandard other = (LiveScoreStandard)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label263: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label263;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label263;
                    }

                    return false;
                }

                Object this$standardCode = this.getStandardCode();
                Object other$standardCode = other.getStandardCode();
                if (this$standardCode == null) {
                    if (other$standardCode != null) {
                        return false;
                    }
                } else if (!this$standardCode.equals(other$standardCode)) {
                    return false;
                }

                label249: {
                    Object this$standardName = this.getStandardName();
                    Object other$standardName = other.getStandardName();
                    if (this$standardName == null) {
                        if (other$standardName == null) {
                            break label249;
                        }
                    } else if (this$standardName.equals(other$standardName)) {
                        break label249;
                    }

                    return false;
                }

                Object this$standardType = this.getStandardType();
                Object other$standardType = other.getStandardType();
                if (this$standardType == null) {
                    if (other$standardType != null) {
                        return false;
                    }
                } else if (!this$standardType.equals(other$standardType)) {
                    return false;
                }

                label235: {
                    Object this$standardValue = this.getStandardValue();
                    Object other$standardValue = other.getStandardValue();
                    if (this$standardValue == null) {
                        if (other$standardValue == null) {
                            break label235;
                        }
                    } else if (this$standardValue.equals(other$standardValue)) {
                        break label235;
                    }

                    return false;
                }

                Object this$orders = this.getOrders();
                Object other$orders = other.getOrders();
                if (this$orders == null) {
                    if (other$orders != null) {
                        return false;
                    }
                } else if (!this$orders.equals(other$orders)) {
                    return false;
                }

                label221: {
                    Object this$state = this.getState();
                    Object other$state = other.getState();
                    if (this$state == null) {
                        if (other$state == null) {
                            break label221;
                        }
                    } else if (this$state.equals(other$state)) {
                        break label221;
                    }

                    return false;
                }

                label214: {
                    Object this$parentId = this.getParentId();
                    Object other$parentId = other.getParentId();
                    if (this$parentId == null) {
                        if (other$parentId == null) {
                            break label214;
                        }
                    } else if (this$parentId.equals(other$parentId)) {
                        break label214;
                    }

                    return false;
                }

                Object this$scoreType = this.getScoreType();
                Object other$scoreType = other.getScoreType();
                if (this$scoreType == null) {
                    if (other$scoreType != null) {
                        return false;
                    }
                } else if (!this$scoreType.equals(other$scoreType)) {
                    return false;
                }

                label200: {
                    Object this$type = this.getType();
                    Object other$type = other.getType();
                    if (this$type == null) {
                        if (other$type == null) {
                            break label200;
                        }
                    } else if (this$type.equals(other$type)) {
                        break label200;
                    }

                    return false;
                }

                label193: {
                    Object this$scoreStep = this.getScoreStep();
                    Object other$scoreStep = other.getScoreStep();
                    if (this$scoreStep == null) {
                        if (other$scoreStep == null) {
                            break label193;
                        }
                    } else if (this$scoreStep.equals(other$scoreStep)) {
                        break label193;
                    }

                    return false;
                }

                Object this$scoreScope = this.getScoreScope();
                Object other$scoreScope = other.getScoreScope();
                if (this$scoreScope == null) {
                    if (other$scoreScope != null) {
                        return false;
                    }
                } else if (!this$scoreScope.equals(other$scoreScope)) {
                    return false;
                }

                Object this$standardValueJson = this.getStandardValueJson();
                Object other$standardValueJson = other.getStandardValueJson();
                if (this$standardValueJson == null) {
                    if (other$standardValueJson != null) {
                        return false;
                    }
                } else if (!this$standardValueJson.equals(other$standardValueJson)) {
                    return false;
                }

                label172: {
                    Object this$taskUserId = this.getTaskUserId();
                    Object other$taskUserId = other.getTaskUserId();
                    if (this$taskUserId == null) {
                        if (other$taskUserId == null) {
                            break label172;
                        }
                    } else if (this$taskUserId.equals(other$taskUserId)) {
                        break label172;
                    }

                    return false;
                }

                Object this$productName = this.getProductName();
                Object other$productName = other.getProductName();
                if (this$productName == null) {
                    if (other$productName != null) {
                        return false;
                    }
                } else if (!this$productName.equals(other$productName)) {
                    return false;
                }

                Object this$productId = this.getProductId();
                Object other$productId = other.getProductId();
                if (this$productId == null) {
                    if (other$productId != null) {
                        return false;
                    }
                } else if (!this$productId.equals(other$productId)) {
                    return false;
                }

                label151: {
                    Object this$standards = this.getStandards();
                    Object other$standards = other.getStandards();
                    if (this$standards == null) {
                        if (other$standards == null) {
                            break label151;
                        }
                    } else if (this$standards.equals(other$standards)) {
                        break label151;
                    }

                    return false;
                }

                Object this$score = this.getScore();
                Object other$score = other.getScore();
                if (this$score == null) {
                    if (other$score != null) {
                        return false;
                    }
                } else if (!this$score.equals(other$score)) {
                    return false;
                }

                label137: {
                    Object this$scoreState = this.getScoreState();
                    Object other$scoreState = other.getScoreState();
                    if (this$scoreState == null) {
                        if (other$scoreState == null) {
                            break label137;
                        }
                    } else if (this$scoreState.equals(other$scoreState)) {
                        break label137;
                    }

                    return false;
                }

                Object this$scores = this.getScores();
                Object other$scores = other.getScores();
                if (this$scores == null) {
                    if (other$scores != null) {
                        return false;
                    }
                } else if (!this$scores.equals(other$scores)) {
                    return false;
                }

                Object this$realScore = this.getRealScore();
                Object other$realScore = other.getRealScore();
                if (this$realScore == null) {
                    if (other$realScore == null) {
                        return true;
                    }
                } else if (this$realScore.equals(other$realScore)) {
                    return true;
                }

                return false;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveScoreStandard;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $standardCode = this.getStandardCode();
        result1 = result * 59 + ($standardCode == null ? 43 : $standardCode.hashCode());
        Object $standardName = this.getStandardName();
        result1 = result * 59 + ($standardName == null ? 43 : $standardName.hashCode());
        Object $standardType = this.getStandardType();
        result1 = result * 59 + ($standardType == null ? 43 : $standardType.hashCode());
        Object $standardValue = this.getStandardValue();
        result1 = result * 59 + ($standardValue == null ? 43 : $standardValue.hashCode());
        Object $orders = this.getOrders();
        result1 = result * 59 + ($orders == null ? 43 : $orders.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $parentId = this.getParentId();
        result1 = result * 59 + ($parentId == null ? 43 : $parentId.hashCode());
        Object $scoreType = this.getScoreType();
        result1 = result * 59 + ($scoreType == null ? 43 : $scoreType.hashCode());
        Object $type = this.getType();
        result1 = result * 59 + ($type == null ? 43 : $type.hashCode());
        Object $scoreStep = this.getScoreStep();
        result1 = result * 59 + ($scoreStep == null ? 43 : $scoreStep.hashCode());
        Object $scoreScope = this.getScoreScope();
        result1 = result * 59 + ($scoreScope == null ? 43 : $scoreScope.hashCode());
        Object $standardValueJson = this.getStandardValueJson();
        result1 = result * 59 + ($standardValueJson == null ? 43 : $standardValueJson.hashCode());
        Object $taskUserId = this.getTaskUserId();
        result1 = result * 59 + ($taskUserId == null ? 43 : $taskUserId.hashCode());
        Object $productName = this.getProductName();
        result1 = result * 59 + ($productName == null ? 43 : $productName.hashCode());
        Object $productId = this.getProductId();
        result1 = result * 59 + ($productId == null ? 43 : $productId.hashCode());
        Object $standards = this.getStandards();
        result1 = result * 59 + ($standards == null ? 43 : $standards.hashCode());
        Object $score = this.getScore();
        result1 = result * 59 + ($score == null ? 43 : $score.hashCode());
        Object $scoreState = this.getScoreState();
        result1 = result * 59 + ($scoreState == null ? 43 : $scoreState.hashCode());
        Object $scores = this.getScores();
        result1 = result * 59 + ($scores == null ? 43 : $scores.hashCode());
        Object $realScore = this.getRealScore();
        result1 = result * 59 + ($realScore == null ? 43 : $realScore.hashCode());
        return result1;
    }
}
